package com.mbc.rmt.dao;

import java.sql.SQLException;
import java.util.Date;
import java.util.List;

import com.mbc.common.param.CriteriaParams;
import com.mbc.rmt.data.CashRemittanceByAgentDataList;
import com.mbc.rmt.entities.CashRemittanceByAgent;

public interface CashRemittanceByAgentArchiveDAO {

	public void create(CashRemittanceByAgent entity)throws SQLException;
	public void update(CashRemittanceByAgent entity)throws SQLException;
	public void delete(long key)throws SQLException;
	CashRemittanceByAgentDataList findCRByAgent(CriteriaParams cri)throws SQLException;
	CashRemittanceByAgent find(long key)throws SQLException;	
	CashRemittanceByAgentDataList findCRByAgentArchive(CriteriaParams cri)throws SQLException;
	List<CashRemittanceByAgent> findByDateRange(Date fromDate, Date toDate, long branchId)throws SQLException;
}
